package org.tinygroup.channel.protocol.config;

import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

@XStreamAlias("protocol-configs")
public class ProtocolConfigs {
	
	@XStreamImplicit
	private List<ProtocolConfig> configs;

	public List<ProtocolConfig> getConfigs() {
		if (configs == null) {
			configs = new ArrayList<ProtocolConfig>();
		}
		return configs;
	}

	public void setConfigs(List<ProtocolConfig> configs) {
		this.configs = configs;
	}

}
